//提示4的暂停区域.

cc.Class({
    extends: cc.Component,

    properties: {
        hintNode: cc.Node,
    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    start () {

    },

    // update (dt) {},

    onCollisionEnter: function(other, self){
        //检测角色是否进入了区域范围.
        if(other.tag == 1){
            //other.getComponent(cc.RigidBody).type = 
            //cc.director.getActionManager().pauseTarget(other.node);
            this.hintNode.getComponent('HintManager').turnNextHint();
        }
    },
});
